package scrumtaculous.domain;

/** InnoDB free: 41984 kB; (`story_id`) REFER `scrumtaculous/story`(`id`) */
public class Task extends DataTransferObject
{

   // Attributes
   Integer id;
   String name;
   Integer storyId;
   Integer hoursEstimated;
   Integer hoursActual;
   String status;
   Integer version;

   // Setters and Getters

   /**  */
   @Override
   public Integer getId()
   {
      return id;
   }

   /** , returns this instance so you can chain sets */
   @Override
   public void setId(Integer idIn)
   {
      id = idIn;
   }

   /**  */
   public String getName()
   {
      return name;
   }

   /** , returns this instance so you can chain sets */
   public void setName(String nameIn)
   {
      nameIn = cleanStringInput(nameIn);
      name = nameIn;
   }

   /**  */
   public Integer getStoryId()
   {
      return storyId;
   }

   /** , returns this instance so you can chain sets */
   public void setStoryId(Integer storyIdIn)
   {
      storyId = storyIdIn;
   }

   /**  */
   public Integer getHoursEstimated()
   {
      return hoursEstimated;
   }

   /** , returns this instance so you can chain sets */
   public void setHoursEstimated(Integer hoursEstimatedIn)
   {
      hoursEstimated = hoursEstimatedIn;
   }

   /**  */
   public Integer getHoursActual()
   {
      return hoursActual;
   }

   /** , returns this instance so you can chain sets */
   public void setHoursActual(Integer hoursActualIn)
   {
      hoursActual = hoursActualIn;
   }

   /**  */
   public String getStatus()
   {
      return status;
   }

   /** , returns this instance so you can chain sets */
   public void setStatus(String statusIn)
   {
      statusIn = cleanStringInput(statusIn);
      status = statusIn;
   }

   /**  */
   @Override
   public Integer getVersion()
   {
      return version;
   }

   /** , returns this instance so you can chain sets */
   @Override
   public void setVersion(Integer versionIn)
   {
      version = versionIn;
   }
}
